﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Web.Mvc.Html
{
	internal static class HtmlTableTags
	{
		internal const string TABLE = "table";

		internal const string TABLE_ROW = "tr";

		internal const string TABLE_HEADER_CELL = "th";

		internal const string TABLE_DATA_CELL = "td";
	}

	internal static class HtmlTagHelper
	{
		internal static string ToOpeningTag(this string source)
		{
			return String.Format("<{0}>", source);
		}

		internal static string ToClosingTag(this string source)
		{
			return String.Format("</{0}>", source);
		}

		internal static string ToSingletonTag(this string source)
		{
			return String.Format("<{0} />", source);
		}
	}
}
